package com.luohai.stock.mapper;

import com.luohai.stock.pojo.entity.StockOuterMarketIndexInfo;
import com.luohai.stock.pojo.vo.stockOuterMarketVo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
* @author acer
* @description 针对表【stock_outer_market_index_info(外盘详情信息表)】的数据库操作Mapper
* @createDate 2024-09-15 21:17:12
* @Entity com.luohai.stock.pojo.entity.StockOuterMarketIndexInfo
*/
public interface StockOuterMarketIndexInfoMapper {

    int deleteByPrimaryKey(Long id);

    int insert(StockOuterMarketIndexInfo record);

    int insertSelective(StockOuterMarketIndexInfo record);

    StockOuterMarketIndexInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(StockOuterMarketIndexInfo record);

    int updateByPrimaryKey(StockOuterMarketIndexInfo record);


    List<stockOuterMarketVo> getOuterMarket(@Param("lastDate") Date lastDate4Stock);

    Integer addOuterMarketInfo(@Param("outerList") List<StockOuterMarketIndexInfo> list);
}
